<template>
  <div>
    <iframe v-has="'sensor:All_Sensor_Attribute'" id="shareScene_all" :src="shareSceneAll" frameborder="0" width="100%" height="800px" scrolling="auto"></iframe>
    <iframe v-has="'sensor:Air_Sensor_Attribute'" id="shareScene_air" :src="shareSceneAir" frameborder="0" width="100%" height="800px" scrolling="auto"></iframe>
    <iframe v-has="'sensor:Water_Sensor_Attribute'" id="shareScene_water" :src="shareSceneWater" frameborder="0" width="100%" height="800px" scrolling="auto"></iframe>
    <iframe v-has="'sensor:Soil_Sensor_Attribute'" id="shareScene_soil" :src="shareSceneSoil" frameborder="0" width="100%" height="800px" scrolling="auto"></iframe>
    <iframe v-has="'sensor:Gas_Sensor_Attribute'" id="shareScene_gas" :src="shareSceneGas" frameborder="0" width="100%" height="800px" scrolling="auto"></iframe>
  </div>
</template>

<script>
  export default {
    name: "Analysis",
    data () {
      return {
        shareSceneAll: window._CONFIG['domianURL']+ "/sensorapi/shareScene?sceneType=All_Sensor_Attribute",
        shareSceneAir: window._CONFIG['domianURL']+ "/sensorapi/shareScene?sceneType=Air_Sensor_Attribute",
        shareSceneWater: window._CONFIG['domianURL']+ "/sensorapi/shareScene?sceneType=Water_Sensor_Attribute",
        shareSceneSoil: window._CONFIG['domianURL']+ "/sensorapi/shareScene?sceneType=Soil_Sensor_Attribute",
        shareSceneGas: window._CONFIG['domianURL']+ "/sensorapi/shareScene?sceneType=Gas_Sensor_Attribute"
      }
    }
  }
</script>

<style lang="scss" scoped>
</style>